package com.csust.travel.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@Accessors(chain = true)

@TableName("product_voucher")
public class ProductVoucher implements Serializable {
  private static final long serialVersionUID = 1L;


  @TableId(value = "id")
  private String id;


  private String productId;


  private String title;

    /**
   * 优惠金额
   */

  private Long voucherValue;


  private Integer stock;


  private LocalDateTime beginTime;


  private LocalDateTime endTime;

    /**
   * 0不可见 9 可见
   */

  private Integer voucherStatus;

    /**
   * 创建时间
   */

  private Long createTime;

    /**
   * 更新时间
   */

  private Long updateTime;



}
